<template>
    <div>
        <!-- 选择机构弹窗 -->
		<el-dialog
            title="人员选择"
            width="70%"
            top="5vh"
            :visible.sync="visibleUserSelect"
        >
        <users-select @confirm="getUserData" 
                    :isSingleUser="isSingleUser"
                    :selectUserids="selectUserids"
                    :isSelectByDept="isSelectByDept"
                    >
        </users-select>
        </el-dialog>
    </div>
</template>

<script>
 

export default {
    
    components: {   
	},

    props:['isSingleUser','selectUserids','isSelectByDept'],

    data() {
        return {
            visibleUserSelect : false,
            userData: []
        }
    },

    methods: {
        openDialog() {
            this.visibleUserSelect = true;
        },
        getUserData(data) {
            //上传
            this.$emit("get-user-data", data);
            this.visibleUserSelect = false;
        }
    },

    mounted() { 
        
    },




}

</script>

<style scoped>

</style>
